package com.second.app.thread.synchroized.F;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class DemoRun {

    public static void main(String[] args) {
        Service service = new Service();
        ThreadA a = new ThreadA(service);
        a.setName("线程A");
        a.start();
        ThreadB b = new ThreadB(service);
        b.setName("线程B");
        b.start();

    }
}
